Search
Utils.RadialGradient Method (RectangleF, PointF, Object[])
See Also
 






Creates a path gradient brush with the specified blend and bounds.

Namespace: MindFusion.Gauges
Assembly: MindFusion.Gauges

 Syntax

C#  Copy Code

public static PathGradientBrush RadialGradient (
    RectangleF bounds,
    PointF centerPoint,
    Object[] positionsAndColors
)

Visual Basic  Copy Code

Public Shared Function RadialGradient ( _
    bounds As RectangleF, _
    centerPoint As PointF, _
    positionsAndColors() As Object _
) As PathGradientBrush

 Parameters

bounds
The bounding rectangle of the path gradient.
centerPoint
The center point of the path gradient.
positionsAndColors
An alternating sequence of float and Color pairs where each pair defines a gradient stop. The positions in the sequence need to be in ascending order.

 Return Value

An instance of the PathGradientBrush class corresponding to the specified settings.

 See Also